package com.ruoyi.client.mapper;

import com.ruoyi.client.domain.MyAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

@Mapper
public interface MyAccountMapper {

    MyAccount selectMyAccount(String name);


    void updateById(@Param("balance") BigDecimal balance,@Param("id") Integer id);

    void updateByOutTradeNo(MyAccount myAccount);

    MyAccount selectMyAccountByOutTradeNo(String outTradeNo);

}
